#!/usr/bin/python
# -*- coding:utf-8 -*-
# @author  : zyh
# @time    : 2021/9/26 15:43
# @function: the script is used to do something.
# @version :
#   V1
#

from django.contrib import admin
from django.urls import path
from users.views import RegisterView

urlpatterns = [
    # 参数1：路由
    # 参数2：视图函数
    # 参数3：路由名，方便通过reverse来获取路由
    path('admin/', admin.site.urls),
    path('register/',RegisterView.as_view(),name='register')
]